package com.dlc.shop.user.common.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 积分锁定信息
 *
 * @author lhd
 * @date 2022-05-06 17:27:53
 */
@Data
@TableName("tz_user_score_lock")
@Schema(description = "积分锁定信息")
public class UserScoreLock implements Serializable{
    private static final long serialVersionUID = 1L;

    @TableId
    private Long id;
    @Schema(description = "创建时间" )
    private Date createTime;
    @Schema(description = "更新时间" )
    private Date updateTime;
    @Schema(description = "用户id" )
    private String userId;
    @Schema(description = "订单号" )
    private String orderNumber;
    @Schema(description = "状态-1已解锁 0待确定 1已锁定" )
    private Integer status;
    @Schema(description = "锁定积分数量" )
    private Long score;
    @Schema(description = "变动的积分id集合" )
    private String scoreGetLogIds;
}
